package com.bite.www;

public class TextDemo {
     int a=88;
     public String name;
     public int age;
     public String num;
     public static String classmane;//类变量 静态的不依赖与对象 不需要对象来进行引用
     public TextDemo(String name,int age,String num){
         this.name=name;
         this.age=age;
         this.num=num;
     }
     public void show(){
         System.out.println("姓名 "+this.name+" 年龄 "
                 +this.age+" 学号 "+this.num+" 班级 "+classmane);
     }
    public void text(){
        System.out.println("text....");
    }
}
